#ifndef _DRV_RGB_H
#define _DRV_RGB_H
#include "sc95f.h"
typedef enum{
    RGB_BLACK = 0,
    RGB_GREEN,
    RGB_BLUE,
	RGB_YELLOW,
	RGB_ORANGE,
    RGB_RED,
	RGB_WHITE,
	RGB_COLOR_MAX,
}rgb_color_e;

unsigned char rgbLedSetColor(rgb_color_e color);

unsigned char fan_level_control(unsigned char level);

void disinfect_model_control(unsigned char state);
void disinfect_status_invert(void);
bit disinfect_status_get(void);


void ion_model_control(unsigned char state);
void ion_status_invert(void);
bit ion_status_get(void);


void beep_control_handle(void);
void beep_on(void);

void RGB_light_set(uint8_t level);
unsigned char fan_set_value(unsigned char value);
unsigned char rgbledSetCode(unsigned char red_val, unsigned char green_val, unsigned char blue_val);

#endif